#include <iostream>
using namespace std;

int main()
{
    /*
        x64: 变量地址是64位整数
        x32: 变量地址是32位整数
    */
    int a = 3;
    void *p = &a;
    int *p_int = (int *)p;
    *p_int = 5; // a = 5
    long long b = (long long)p;
    printf("b: %lld\np: %lld\n", b, p);
    printf("p_int: %lld\n", p_int);
    printf("size p: %d\n", sizeof(p));
    printf("size b: %d\n", sizeof(b));

    p = 0;

    return 0;
}